﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UcAsp.Net.Interface;

namespace UcAsp.Net.BLL
{
    public class MessageThemes : ISelect
    {
        public List<object> Execute(object id)
        {
            List<Model.Select> query = new List<Model.Select>();
            string[] themes=new ThemeConfig().ShowMessageTheme();
            for (int i = 0; i < themes.Length;i++ )
            {
                Model.Select s = new Model.Select();
                s.Name = themes[i];
                s.Value = themes[i];
                query.Add(s);

            }
            return query.ToList<object>();
        }
    }
}
